import Storage from "vue-ls";
import type { App } from 'vue'
const options = {
  namespace: "cms-", // key prefix
  name: "ls", // name variable Vue.[ls] or this.[$ls],
  storage: "local", // storage name session, local, memory
};
const { ls } = Storage.useStorage(options);
export { ls };
export default (app: App) => {
  app.config.globalProperties.$ls = ls;
}
